home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: CW9 68k & ODF R1?
- Sent: 5/20/96 5:31 PM
- Received: 5/22/96 8:31 AM
- From: Henri Lamiraux, lamiraux@apple.com
- Reply-To: ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- We put a document with ODF R1 explaining the problems with CW 68K. You
- need to read this document. The latest compiler I used (1.5b10) worked. I
- am not sure it is available yet.
-
- >1. Is there "ODFrc" plug-in for CW IDE in some archive?
- > I've downloaded minimum set of archives noted in ODF download page, and
- >found ODFrc MPW tool, not CWIDE plug-in.
- >
-
- I just sent the ODFRC plugin a couple of hours ago.
-
- >2. Does "Exception68k.cpp" in Runtime 68k library of CW9 need to be
- >included into ODFRuntime.lib, if I'm not using native C++ exception?
- > It gave me the compile error that "try" is not allowed if C++ exception is
- >not enabled. I've just commented out those code, but this file may not be
- >needed.
- >
-
- Do not use native exception with 68K. Metrowerks still has problems even
- with the 1.5b10 version. Use the ODF emulation exception until the
- compiler is fixed.
-
- >3. Has anybody had similar bus error as me? Has anybody fugured out what is
- >the cause of the bus error, and how to fix it?
- > I've found out that bus error happened in this calling sequence:
- >
- >CNothingFrame::Draw
- >FW_CGraphicContext::InitGraphicContext
- >FW_PrivGC_Initialize
- >FW_FailOnEvError
- >FW_GetEvError
-
- This was a problem with PowerPC vs 68K alignment. Previous compiler had a
- problem with "#pragma align=xxx" statement.
-